Version

GetItemHeader(Object,Nullable<Boolean>) Method

Returns the header( if any ) else the type of the input item if it is visible. If the item is hidden, returns (Hidden) as the item's header. In all other cases, it returns an empty string. Note: The item header is always terminated with a new-line (\n) character even if it is an empty string.
Syntax
'Declaration
 
Protected Overloads Function GetItemHeader( _
   ByVal oItem As System.Object, _
   ByVal bItemVisiblity As System.Nullable(Of Boolean) _
) As System.String
protected System.string GetItemHeader( 
   System.object oItem,
   System.Nullable<bool> bItemVisiblity
)
protected: System.string* GetItemHeader( 
   System.Object* oItem,
   System.Nullable<bool> bItemVisiblity
) 

Parameters

oItem
The input item whose header is required
bItemVisiblity
The visiblity of the item which determines the returned header value

Return Value

Returns the header( if any ) else the type of the input item if it is visible or (Hidden) if it is hidden.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also